// Agent agent_Alison in project swatJacamo

/* Initial beliefs and rules */

/* Initial goals */

//!start.
!create_and_use.

/* Plans */

//+!start : true <- println("hello world.").


+!create_and_use : true
	<- !setupTool(Id);
	 inc [artifact_id(Id)]. 
	 
//invoca o artefato com o ID .. usar sempre esse... pode usar tbm [artifact name(Name)] que seria "c0"
//pode-se indicar o workspace tbm com:  [wsp id(WspID)]	


+!setupTool(C): true
	<- makeArtifact("c0","artifact.Artifact1Alison",[0],C).  //cria o artefato, seu ID retorna em C
